<template>
  <!--新增牌号-->
  <el-dialog
    title="新增牌号"
    :visible.sync="dialogVisible"
    width="500px">
    <div>
      <el-form size="mini" :model="sendForm" label-width="100px"  ref="sendForm" :rules="rules">
        <el-form-item label="牌号名称：">
           <el-select></el-select>
        </el-form-item>
        <el-form-item label="品名：">
        </el-form-item>
        <el-form-item label="牌号：">
        </el-form-item>
        <el-form-item label="生产厂家：">
        </el-form-item>
      </el-form>
    </div>
    <span slot="footer" class="dialog-footer">
          <el-button @click="handleClose">取 消</el-button>
          <el-button type="primary" @click="handleConfirm" :loading="btnLoading">确 认</el-button>
      </span>
  </el-dialog>
</template>
<script>
import {getAddressList} from '@/api/allInLine/partner'
import { mapGetters } from 'vuex'
const defaultSendForm={
  val:'',
  val2:'',
  contactList:[],
};
export default {
  name: "index",
  data(){
    return {
      dialogVisible:false,
      btnLoading:false,
      sendForm:JSON.parse(JSON.stringify(defaultSendForm)),
      rules:{},
      options:[]
    }
  },
  computed: {
    ...mapGetters([
      'name',
      'mobile',
      'userId'
    ]),
  },
  components : {

  },

  created() {
    // this.getAddressListData()
  },

  filters: {

  },
  methods:{
    //获取省市区列表
    getAddressListData(){
      getAddressList().then((res)=>{
        this.options = res;
      })
    },
    //显示新增
    showPop(){
      this.dialogVisible = true;
    },
    //关闭新增
    handleClose(){
      this.dialogVisible = false;
    },

    //确认新增
    handleConfirm(){

    },
  },
}
</script>

<style  lang="scss">

</style>
